﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainSite.Master" AutoEventWireup="true" CodeBehind="testing export to csv.aspx.cs" Inherits="BSCMFF.Web.Pages.working.testing_export_to_csv" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">


<telerik:RadGrid ID="RadGrid1" DataSourceID="EntityDataSourceVymazat"  runat="server" GridLines="None" Width="95%"
         CellSpacing="0">
        <ExportSettings HideStructureColumns="true" />
        <MasterTableView Width="100%" CommandItemDisplay="Top" 
            DataSourceID="EntityDataSourceVymazat">



            <CommandItemSettings ShowExportToWordButton="true" ShowExportToExcelButton="true"
                ShowExportToCsvButton="true" />
        </MasterTableView>


    </telerik:RadGrid>

    <asp:EntityDataSource ID="EntityDataSourceVymazat" runat="server" 
        ConnectionString="name=BSCEntities" DefaultContainerName="BSCEntities" 
        EnableFlattening="False" EntitySetName="User" 
        Select="it.[Firstname], it.[Lastname], it.[Email]">
    </asp:EntityDataSource>


</asp:Content>
